import React, { Component } from 'react';
import { StyleSheet, Clipboard } from 'react-native';
import { Container, Content, View, Button, Text, Toast } from 'native-base';
import { connect } from 'react-redux';

import { Header } from '../../component';
import { Colors, Metrics } from '../../theme';

class Model extends Component {
  constructor(props) {
    super(props);
    this.state = {
      
    }
  }

  UNSAFE_componentWillMount() {

  }

  componentDidMount() {
    
  }

  // 点击复制
  clipboardFunc(str){
    str = str + '';
    Clipboard.setString(str);
    Toast.show({
      text: '文本已复制!',
      type: "success"
    })
  }

  render() {
    return (
      <Container>
        <Header title="模板" onLeftPress={() => this.props.navigation.goBack()} />
        <Content>
          

        </Content>
      </Container>
    );
  }

}

const mapStateToProps = state => ({

});

const mapDispatchToProps = dispatch => ({

});
export default connect(mapStateToProps, mapDispatchToProps)(Model);

const Styles = StyleSheet.create({

});